package com.asset.dispoal.business.approval.domain.db.mapper;

import com.asset.dispoal.business.approval.domain.db.entity.BorrowDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description:
 * @author: yf
 * @date: 2022-10-09 15:02:53
 */
@Mapper
public interface BorrowDetailMapper {
    /**
     * 根据案件id查询合同详情集合
     */
    List<BorrowDetail> getAgreementDetailListByCaseId(String caseId);

    /**
     * 批量更新
     *
     * @param detail
     * @return
     */
    int update(BorrowDetail detail);
}
